home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: library.ucla.edu!zephyr!cloudburst!tram
- From: tram@cloudburst.seas.ucla.edu (Tri Tram)
- Subject: linked list
- Sender: news@seas.ucla.edu (News Daemon)
- Message-ID: <DnKwDt.Ct0@seas.ucla.edu>
- Date: Fri, 1 Mar 1996 07:49:04 GMT
- X-Nntp-Posting-Host: cloudburst.seas.ucla.edu
- Organization: School of Engineering & Applied Science, UCLA.
- X-Newsreader: TIN [version 1.2 PL2]
-
- I was wondering in a linked list, how do you figure out how you
- are in a linked list? And how do you add a node to a link list?
- suppose I have:
-
- struct Node
- {
- char *name;
- Node *next;
- }
-
- let's say I have
- ann->bob->susie in my list. how do I go about to get
- ann->bob->lacy->susie?
- thanks for any help.
-
- --
- -----------------------------------------------------------------
- Tri Tram, Computer Science and Engineering at UCLA
- http://www.seas.ucla.edu/~tram
-
-